package net.hzlj.platform.enterprise.beans.ui;

import java.io.Serializable;

/**
 * @ClassName: FileBean
 * @Description: 本地保存的图片或者录音的信息
 * @Author: Jason.Zhang zhangyujn1989ok@gmail.com
 * @Date: 2015-12-2 16:14:08
 */
public class FileBean implements Serializable {

	private int id;
	
	//活动类型，0,-集中劳动，1-个别劳动，2-集中教育，3-个别教育,4-日常报到，5-工作走访，6-外出请假
	private int serviceId;//分发服务ID,1-签到，2-新增个别教育、个别劳动，3-集中劳动 ，4-走访记录，5-外出请假
	
	private String fileName;//文件名字
	
	private String filePath;//资源本地路径，可以确认MediaStore图片的唯一
	
	private String fileUrl;//资源网络url
	
	private int fileType;//资源类型，1-默认"image",2-"audio"

	private String createDate; //资源建立时间，格式yyyy-MM-dd HH:mm:ss
	
	private String uploadDate; //资源上传时间，格式yyyy-MM-dd HH:mm:ss
	
	private String parentId;//工作走访

	private String imie;

	private int state;//资源当前状态，1-默认，"未上传"，2-"已上传"


	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getServiceId() {
		return serviceId;
	}

	public void setServiceId(int serviceId) {
		this.serviceId = serviceId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}

	public int getFileType() {
		return fileType;
	}

	public void setFileType(int fileType) {
		this.fileType = fileType;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getUploadDate() {
		return uploadDate;
	}

	public void setUploadDate(String uploadDate) {
		this.uploadDate = uploadDate;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getImie() {
		return imie;
	}

	public void setImie(String imie) {
		this.imie = imie;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "FileBean{" +
				"id=" + id +
				", serviceId=" + serviceId +
				", fileName='" + fileName + '\'' +
				", filePath='" + filePath + '\'' +
				", fileUrl='" + fileUrl + '\'' +
				", fileType=" + fileType +
				", createDate='" + createDate + '\'' +
				", uploadDate='" + uploadDate + '\'' +
				", parentId='" + parentId + '\'' +
				", imie='" + imie + '\'' +
				", state=" + state +
				'}';
	}
}
